Its ruling last Friday ended a legal doctrine holding that courts should defer to the technical expertise of federal agency staff in interpreting unclear laws.